import requests

r = requests.get('https://www.oschina.net/blog',params={'tab':'recommend'})
print(r.url,'\n',r.encoding)